home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / sys / Make060.lha / Make060 / Make060.c < prev    next >
C/C++ Source or Header  |  1997-08-28  |  663b  |  40 lines

  1. /*
  2. **      $VER: Make060 1.1 (28.8.97)
  3. **
  4. **      Sets AFF_68060 in ExecBase, it your accelerator soft didn't...
  5. **
  6. **      (C) Copyright 1996-97 Andreas R. Kleinert
  7. **      All Rights Reserved.
  8. */
  9.  
  10. #define __USE_SYSBASE
  11.  
  12. #include <exec/types.h>
  13. #include <exec/execbase.h>
  14.  
  15. #include <proto/exec.h>
  16.  
  17.  
  18. #ifndef AFB_68060   /* if not already done within "execbase.h" */
  19.  
  20. #define AFB_68060 (7)
  21. #define AFF_68060 (1L<<AFB_68060)
  22.  
  23. #endif /* AFB_68060 */
  24.  
  25.  
  26. #include <stdlib.h>
  27.  
  28. char ver_text [] = "\0$VER: Make060 1.1 (28.8.97)";
  29.  
  30. void main(long argc, char **argv)
  31. {
  32.  extern struct ExecBase *SysBase;
  33.  
  34.  Forbid();
  35.  SysBase->AttnFlags |= AFF_68060;
  36.  Permit();
  37.  
  38.  exit(0);
  39. }
  40.